package com.itheima.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分页查询所要的数据
 * @param <T>
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class PageInfo<T> {
    private List<T> records;

    private long total;

    private Integer size;

    private Integer current;
}
